package com.polaris.live.im.sfs.bean.live

import com.polaris.live.im.sfs.core.bean.AbstractMessage
import com.polaris.live.utils.CommonUtils

/**
 * LiveJoinMessage
 *
 * @author Created by 半仙 on 2023/9/27/027 16:40
 */
data class LiveJoinMessage(
    /**
     * 消息ID
     */
    override val msgId: String = CommonUtils.uuid(),
    /**
     * 主播id
     */
    val anchorId: Long,
    /**
     * 是否为重连
     */
    val reconnected: Boolean? = null,
    /**
     * 是否为检测连接
     */
    val detected: Boolean? = null,
    /**
     * 密码
     */
    val password: String? = null,
    /**
     * 房间id  大部分情况是不允许为空的  目前只有重进app走重连的时候才允许
     */
    val roomId: String? = null,

    ) : AbstractMessage